﻿using System;
using System.Drawing;

using Storm.TextEditor.Parser.Objects;

namespace Storm.TextEditor.Editor
{
	/// <summary>
	/// Holds information on a RowPaint event.
	/// </summary>
	public class RowPaintEventArgs
		: EventArgs
	{
		#region Fields

		private Row       row      = null;
		private Graphics  graphics = null;
		private Rectangle bounds   = new Rectangle(0, 0, 0, 0);

		#endregion

		#region Properties

		/// <summary>
		/// Gets or sets the row of the RowPaintEventArgs.
		/// </summary>
		public Row Row
		{
			get { return row; }
			set { row = value; }
		}

		/// <summary>
		/// Gets or sets the graphics of the RowPaintEventArgs.
		/// </summary>
		public Graphics Graphics
		{
			get { return graphics; }
			set { graphics = value; }
		}

		/// <summary>
		/// Gets or sets the bounds of the RowPaintEventArgs.
		/// </summary>
		public Rectangle Bounds
		{
			get { return bounds; }
			set { bounds = value; }
		}

		#endregion

		/// <summary>
		/// Initializes a new instance of RowPaintEventArgs.
		/// </summary>
		public RowPaintEventArgs()
		{
		}
	}
}
